<template>
	<view>
		<block v-for="item in list">
			<view class="Contract">
				<text>创建时间:</text>
				<text>2019-11-29</text>
			</view>
			<view class="Contract-info-content">
				<view class="Contract-info-text">
					<view class="title-name">
						<text>亚运城运动员村26栋801</text>
					</view>
					<view class="Contract-title">
						<text>2019-12-03签约</text>
						<view class="Contract-Money">
							<text>￥3480.00</text>
							<text>/月</text>
						</view>
					</view>
					<view class="Contract-text">
						<text>合同编号: XXXXX,XXXXXX</text>
						<text>到期时间: 2020-6-03</text>
						<text>期数: 4/7</text>
					</view>
				</view>
				<view class="rent-button">
					<view class="rent-button">
						<button hover-class="" type="default" size="mini"  @click="shareFriend">查看详情</button>
						<button hover-class="" type="default" @click="">在线咨询</button>
					</view>
				</view>
			</view>
		</block>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [1,2,3,4,5],
			}
		},
	}
</script>

<style>
	.Contract {
		margin-top: 20upx;
		line-height: 60upx;
		margin-left: 60upx;
		font-size: 24upx;
		color: #AAAAAA;
		font-family: Arial, Helvetica, sans-serif;
	}

	.Contract text:nth-child(2) {
		margin-left: 20upx;
	}

	.Contract-info-content {
		border: 1upx solid #F2F2F2;
		margin: 0 25upx;
		padding: 20upx 20upx;
		box-shadow: 5upx 5upx 5upx #E4E4E4,6upx 6upx 5upx #e8e8e8,6upx 8upx 5upx #ececec;
	}
	.Contract-info-content .Contract-title{
		font-family: Arial, Helvetica, sans-serif;
		display: flex;
		justify-content: space-between;
		line-height: 40upx;
	}
	.Contract-info-content .Contract-info-text .title-name text:nth-child(1){
		line-height: 70upx;
		font-size: 32upx;
		color: #333333;
		font-weight: bolder;
	}
	.Contract-info-content .Contract-info-text text{
		font-size: 22upx;
		color: #7F7F7F;
	}
	.Contract-info-content .Contract-info-text .Contract-text{
		display: flex;flex-direction: column;
		line-height: 40upx;
	}
	.Contract-info-content .Contract-title .Contract-Money{
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	.Contract-info-content .Contract-title .Contract-Money text:nth-child(1){
		font-size: 32upx;
		color: #F59A23;
	}
	.Contract-info-content .Contract-title .Contract-Money text:nth-child(2){
		font-size: 22upx;
		color: #7F7F7F;
	}
	
	.Contract-info-content .rent-button{
		display: flex;
		flex-direction: row-reverse;
	}
	.Contract-info-content .rent-button button{
		line-height: 45upx;
		font-size: 20upx;
		color: #555555;
		margin-left: 20upx;
	}
	button::after{
		background-color: rgba(255,255,255,0.1);
		color: #555555;
	}
</style>
